package com.dongchen.designpatter.chapter04.simplefactory.sample02;

import lombok.extern.slf4j.Slf4j;

/**
 * @author dongchen
 * @time 2021/9/17
 */
@Slf4j
public class Administrator extends User {
    public Administrator() {
        log.info("Create Administrator");
    }

    @Override
    public void diffOperation() {
        log.info("Administrator has right of create and manage of the application for leave!! ");
    }
}
